package com.xueyi.system.personnel.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.system.personnel.domain.po.BasePersonnelPo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 员工管理 数据传输对象
 *
 * @author xueyi
 */
public class BasePersonnelDto extends BasePersonnelPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("nativePlace", getNativePlace())
            .append("height", getHeight())
            .append("nation", getNation())
            .append("isMarried", getIsMarried())
            .append("political", getPolitical())
            .append("sex", getSex())
            .append("birth", getBirth())
            .append("address", getAddress())
            .append("education", getEducation())
            .append("diploma", getDiploma())
            .append("school", getSchool())
            .append("major", getMajor())
            .append("graduationTime", getGraduationTime())
            .append("workingSeniority", getWorkingSeniority())
            .append("health", getHealth())
            .append("medicalCertificate", getMedicalCertificate())
            .append("phone", getPhone())
            .append("isLeading", getIsLeading())
            .append("isRelevantMajor", getIsRelevantMajor())
            .append("isCultivate", getIsCultivate())
            .append("resignation", getResignation())
            .append("managerExperience", getManagerExperience())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}